Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java Tutorial
1) 2D Graphics
2) Ant
3) Apache Common
4) Class Definition
5) Collections
6) Data Type
7) Database
8) Design Pattern
9) Development
10) EJB3
11) Email
12) File
13) Generics
14) Hibernate
15) Internationalization
16) J2EE Application
17) J2ME
18) JPA
19) JSP
20) JSTL
21) JUnit
22) Language
23) Log
24) Network
25) Operators
26) PDF
27) Reflection
28) Regular Expressions
29) Security
30) Servlet
31) Spring
32) Statement Control
33) Swing
34) Swing Event
35) SWT
36) SWT 2D Graphics
37) Thread
38) Web Services SOA
39) XML
Statement Control
1) A loop allows you to execute a statement or block of statements repeatedly
2) An example of nested try statements
3) An Overview of Java Statements
4) Breaking Indefinite Loops
5) Calculating Primes
6) Catch different Exception types
7) Catch divide-by-zero error
8) Change Exception type and rethrow
9) Combining both statements into one
10) Declare multiple variables in for loop
11) Declaring and defining multiple variables in a single statement
12) Demonstrate finally
13) Demonstrate multiple catch statements
14) Demonstrate throw
15) Execute the same statements for several different case labels
16) Expression indentation for if statement
17) Expressions
18) For statement in detail
19) Free Flowing Switch Statement Example
20) Handle an exception and move on
21) write multiple assignments in a single statement
22) Infinite For loop Example
23) Initialization_expression
24) Iterating over Multidimensional Arrays
25) Javas labeled for loop
26) Javas labeled while loop
27) Keeping the middle element only in for loop
28) Label a statement block
29) Labelled breaks breaks out of several levels of nested loops inside a pair of curly braces
30) Multiple expressions in for loops
31) Multiple selections
32) Nested for Loop
33) Nested if Statements
34) Nested Switch Statements Example
35) Print out a Diamond
36) Spreading a single declaration over several lines
37) Statement Blocks
38) Switch statement with enum
39) The break Statement
40) The continue Statement
41) The do while loop in action
42) The do-while Statement
43) The else Clause
44) The for each loop for an enum data type
45) The for Statement
46) The for-each loop is essentially read-only
47) The For-Each Version of the for Loop
48) The if Statement in action
49) The if statement syntax
50) The Labeled break Statement
51) The Labeled continue statement
52) The numerical for loop
53) The switch Statement
54) The while Statement
55) Throws Exception from method
56) To omit any or all of the elements in for loop
57) Try statements can be implicitly nested via calls to methods
58) Use a for-each style for loop
59) Using && in if statement
60) Using (or operator) in if statement
61) Using braces makes your if statement clearer
62) Using break with a for-each-style for
63) Using for each to loop through array
64) Using the break Statement in a Loop
65) Using the Floating-Point Values as the control value in a for loop
66) Using the For-Each Loop with Collections
67) Using the while loop to calculate sum
68) While loop with double value